<?php

namespace Modules\Chinadmin\Models;


use Illuminate\Foundation\Auth\User as Authenticatable;

class AdminModel extends Authenticatable
{

    public $table = 'ca_admin';
    public $primaryKey = 'id';
    //加这个可以让时间成为正常格式。
    protected function serializeDate(\DateTimeInterface $date){
        return $date->format('Y-m-d H:i:s');
    }

}
